export default function (http) {
    return {
        queryByPage (data){
            return http.json({
                url: '/api/fjgl/queryFjglPage',
                data
            });
        },
        //查询资产基本信息
        queryInfo (data){
            return http.json({
                url: '/api/fjgl/queryInfo',
                data
            });
        },
        //查询关联合同
        queryContract(data){
            return http.json({
                url: '/api/fjgl/queryContract',
                data
            });
        },
        //查询调整记录
        queryRecord(data){
            return http.json({
                url: '/api/fjgl/queryRecord',
                data
            });
        },
        //查询资源类型
        queryResourcesType(data){
            return http.json({
                url: '/api/fjgl/queryResourcesType',
                data
            });
        },
        //查询房间列表
        queryResources(data){
            return http.json({
                url: '/api/fjgl/queryResources',
                data
            });
        },
        //查询楼栋tree
        queryLdList(data){
            return http.json({
                url: '/api/fjgl/queryLdList',
                data
            });
        },
         //查询楼栋tree
         queryLdList(data){
            return http.json({
                url: '/api/fjgl/queryLdList',
                data
            });
        },
        //保存楼栋信息
        saveLdData(data){
            return http.json({
                url: '/api/fjgl/saveLdData',
                data
            });
        },
        //删除楼栋楼层信息
        deleteLdData(data){
            return http.json({
                url: '/api/fjgl/deleteLdData',
                data
            });
        },
        //资源类型
        queryzyList(data){
            return http.json({
                url: '/api/fjgl/queryzyList',
                data
            });
        },
        //获取分区
        queryzyList(data){
            return http.json({
                url: '/api/fjgl/queryzyList',
                data
            });
        },
    }
}
